package com.design.strategy;

/**
 * @Author: ChengLei.Liu
 * @Date: 2020-07-23 15:28
 * @Description: 去上班
 */
public class GoOnWork{

    /**
     * 人
     */
    private Person person;

    /**
     * 天气
     */
    private String weather;

    public void goOnWork(GoOnWorkStrategy goOnWorkStrategy){
        goOnWorkStrategy.goOnWork(this);
    }

    public Person getPerson() {
        return person;
    }

    public void setPerson(Person person) {
        this.person = person;
    }

    public String getWeather() {
        return weather;
    }

    public void setWeather(String weather) {
        this.weather = weather;
    }
}
